package com.xdcplus.web.mapper.alarm;

import com.xdcplus.mp.mapper.IBaseMapper;
import com.xdcplus.web.common.pojo.entity.alarm.ToolAlarmGroup;
import com.xdcplus.web.common.pojo.query.alarm.ToolAlarmGroupQuery;

import java.util.List;

/**
 * 设备告警组表(ToolAlarmGroup)表数据库访问层
 *
 * @author bullion.yan
 * @since 2024-06-05 16:16:14
 */
public interface ToolAlarmGroupMapper extends IBaseMapper<ToolAlarmGroup> {

    /**
     * 查询设备告警组表(ToolAlarmGroup)
     *
     * @param toolAlarmGroupQuery 设备告警组表(ToolAlarmGroup)查询
     * @return {@link List<ToolAlarmGroup>}
     */
    List<ToolAlarmGroup> queryToolAlarmGroup(ToolAlarmGroupQuery toolAlarmGroupQuery);

    ToolAlarmGroup queryByToolGroupCode(String toolGroupCode);

    List<ToolAlarmGroup> queryByParentId(Long parentId);



}
